<!DOCTYPE html>
<html>
<head>
    <% include ../include/css_header.html %>
    <link type="text/css" rel="stylesheet" href="/min/mobiscroll.min.css" />
    <link type="text/css" rel="stylesheet" href="/bootstrapSwitch.css" />
    <style>
        #startTime_show{
            background-color: #ffffff;
            color: #4A90D9;
        }
    </style>
</head>
<body class="actlist_bg">
    <div class="container">
        <% include ../include/top_bar.html %>
        <div style="height: 20px;"></div>
        <div class="font_shadow_133000" style="text-align: center;color: #ffffff;">
            <h2><strong>发起聚会</strong></h2>
        </div>
        <div class="row" style="position: relative;margin: 0;">
            <div class="bg_op_panel" style="min-height: 600px;">
                <div class="col-xs-12" style="margin-top: 10px;">
                    <form role="form">
                        <div class="form-group">
                            <label>活动主题</label>
                            <input type="text" id="actname" class="form-control" placeholder="这是个活动">
                        </div>
                        <div class="form-group">
                            <label>活动时间</label>
                            <input type="text" id="startTime_show" class="form-control" placeholder="本周末吧" readonly>
                            <input type="hidden" id="startTime">
                        </div>
                        <div class="form-group">
                            <label>活动地点</label>
                            <input type="text" id="actlocation" class="form-control" placeholder="高端大气上档次的地方哦">
                        </div>
                        <div class="form-group">
                            <label>备注</label>
                            <textarea class="form-control" rows="3" id="remark" placeholder="我请大家吃饭"></textarea>
                        </div>
                        <% if(!factionId){ %>
                        <button type="button" class="btn btn-default btn-block" id="showMore">
                            开启更多选项
                            <span class="icon-arrow-down"></span>
                        </button>
                        <div id="more_info" style="display: none;margin-top: 10px;">
                            <div class="form-group">
                                1、需要参与者留下<strong>联系方式</strong>？
                                <!--<div class="btn-group" data-toggle="buttons">
                                    <label class="btn btn-default active">
                                        <input type="radio" name="contact" value="false" checked>否
                                    </label>
                                    <label class="btn btn-default">
                                        <input type="radio" name="contact" value="true">是
                                    </label>
                                </div>-->
                                <div style="position: relative;top: 10px;" class="switch" data-on="primary" data-off="danger" data-on-label="是" data-off-label="否">
                                    <input type="checkbox" value="true" name="contact" />
                                </div>
                            </div>
                            <div class="form-group">
                                2、需要参与者所在<strong>行业信息</strong>？
                                <!--<div class="btn-group" data-toggle="buttons">
                                    <label class="btn btn-default active">
                                        <input type="radio" name="business" value="false" checked>否
                                    </label>
                                    <label class="btn btn-default">
                                        <input type="radio" name="business" value="true">是
                                    </label>
                                </div>-->
                                <div style="position: relative;top: 10px;" class="switch" data-on="primary" data-off="danger" data-on-label="是" data-off-label="否">
                                    <input type="checkbox" value="true" name="business" />
                                </div>
                            </div>
                        </div>
                        <% } %>
                        <input type="hidden" id="factionId" value="<%=factionId?factionId:'' %>"/>
                        <input type="hidden" id="_csrf" value="<%=token %>"/>
                        <div style="height: 20px;"></div>
                        <button type="button" class="btn btn-success btn-block" data-loading-text="Loading..." id="submit">开启活动</button>
                    </form>
                </div>
            </div>
        </div>
        <% include ../include/copyright.html %>
    </div>
    <% include ../include/slide_menu.html %>
    <% include ../include/js_footer.html %>
    <script src="/compoments/bootstrapSwitch.js"></script>
    <script src="/min/mobiscroll.min.js"></script>
    <script src="<%=_locals.static_js_path %>/create.js"></script>
    <script>
    </script>
</body>
</html>